*,
:after,
:before {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-y: auto;
  font-size: 14px;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun,
    sans-serif;
}

html {
  -webkit-tap-highlight-color: transparent;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  &-thumb {
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 2px;
  }
  &-track {
    background-color: #f2f2f2;
  }
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

figcaption,
figure,
main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  text-decoration: none;
  background-color: transparent;
  outline: none;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input {
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

button,
select {
  text-transform: none;
  border: none;
}

textarea {
  overflow: auto;
}

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: textfield;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

input,
button,
textarea {
  color: inherit;
  font: inherit;
}

canvas {
  width: 100%;
  height: 100%;
}

#root {
  width: 100%;
  height: 100%;
}
